! XSF2.txt:
! Logarithmic Polynomial Curve Fitting for atomic scattering factors in the
! region: 2 <= d* <= 6 1/A. Fitted coefficients a0, a1, a2 and a3, where:-
!
!
! ln(f) = a0 + a1 s + a2 s^2 + a3 s^3
!
! These data use the RAW data points of Fox et al (1989), but *NOT* their
! published coefficients (a0-3) because of major errors in their curve Fitting
! (e.g., "fitted" curves not passing through any data points.) Sadly, these
! errors are also found in Table 6.1.1.5 in Volume C of the International Tables
! for Crystallography.
!
! Instead, we have run our own curve fits and are showing the results here.
!
! Reference for raw data ONLY:-
!
! Fox, A.G., O'Keefe, M.A. & Tabbernor, M.A. (1989) Relativistic Hartree-Fock
! X-ray and electron atomic scattering factors at high angles. Acta
! Crystallographica. A45:786-793.
!
! Fitted data calculated by David Palmer, 8 April 2022
! N.B., unlike the published coefficients, our a2 and a3 coefficients have not
! been scaled by 10 or 100.
!
!-------------------------------------------------------------------------------
!      a0         a1          a2       a3        Note
!-------------------------------------------------------------------------------
He   -5.647      3.8539    -2.2964     0.3133
Li    1.9098    -3.4227     0.5235    -0.033
Be    0.9502    -1.6954     0.068      0.0044
B     1.6568    -1.8474     0.1584    -0.0064
C     1.7557    -1.6068     0.1286    -0.005
N     1.6246    -1.2608     0.0656    -0.0009
O     1.3703    -0.8883    -0.0042     0.0038
F     1.245     -0.6931    -0.0251     0.0043
OH    1.3703    -0.8883    -0.0042     0.0038    "Hydroxyl ion; as for O"
Wa    1.3703    -0.8883    -0.0042     0.0038    "Water molecule; as for O"
Ne    1.2428    -0.6194    -0.0247     0.0038
Na    0.9021    -0.3072    -0.077      0.0068
Mg    0.7416    -0.1493    -0.0977     0.0079
AI    0.6646    -0.0757    -0.0984     0.0075
Si    0.634     -0.0419    -0.0924    -0.0067
P     0.7144    -0.1023    -0.0646     0.0042
S     0.8975    -0.2416    -0.0198     0.0005
CI    1.1453    -0.4218     0.031     -0.0034
Ar    1.4968    -0.6745     0.0967    -0.0084
K     1.9157    -0.9715     0.1707    -0.0138
Ca    2.3802    -1.2926     0.248     -0.0195
Sc    2.826     -1.5857     0.3151    -0.0241
Ti    3.2291    -1.8358     0.3698    -0.0278
V     3.5704    -2.0277     0.4081    -0.03
Cr    3.8228    -2.1462     0.4279    -0.0309
Mn    4.015     -2.2116     0.4337    -0.0307
Fe    4.1014    -2.1918     0.4182    -0.0288
Co    4.1262    -2.1274     0.393     -0.0262
Ni    4.0763    -2.0057     0.3541    -0.0227
Cu    3.9711    -1.8476     0.3078    -0.0187
Zn    3.8249    -1.6587     0.2547    -0.0142
Ga    3.6476    -1.4521     0.1988    -0.0097
Ge    3.4453    -1.2316     0.1408    -0.005
As    3.2272    -1.006      0.0832    -0.0006
Se    3.0053    -0.7848     0.0282     0.0036
Br    2.7941    -0.5803    -0.021      0.0072
Kr    2.5874    -0.3856    -0.0666     0.0105
Rb    2.405     -0.2177    -0.1042     0.0131
Sr    2.2538    -0.0814    -0.1328     0.0149
Y     2.1356     0.0245    -0.1535     0.0161
Zr    2.0658     0.084     -0.161      0.0161
Nb    2.0133     0.1383    -0.1709     0.0166
Mo    2.0114     0.1323    -0.1596     0.0151
Tc    2.03       0.1206    -0.1514     0.0141
Ru    2.1026     0.0614    -0.13       0.012
Rh    2.1979    -0.0148    -0.105      0.0097
Pd    2.3292    -0.1205    -0.0728     0.0068
Ag    2.5289    -0.2809    -0.027      0.0029
Cd    2.7159    -0.4261     0.0133    -0.0005
In    2.9529    -0.6142     0.0652    -0.0049
Sn    3.1421    -0.7509     0.1001    -0.0076
Sb    3.3699    -0.9211     0.1443    -0.0111
Te    3.5769    -1.0706     0.1821    -0.014
I     3.8182    -1.2457     0.2261    -0.0174
Xe    4.0314    -1.3951     0.2627    -0.0202
Cs    4.2255    -1.526      0.2938    -0.0224
Ba    4.4036    -1.6418     0.3206    -0.0243
La    4.5519    -1.7311     0.3402    -0.0256
Ce    4.6853    -1.8141     0.3594    -0.027
Pr    4.7664    -1.849      0.3652    -0.0272
Nd    4.8446    -1.8813     0.3701    -0.0273
Pm    4.8769    -1.872      0.3638    -0.0265
Sm    4.8927    -1.8516     0.3548    -0.0255
Eu    4.8753    -1.8026     0.3384    -0.0239
Gd    4.8596    -1.7528     0.3214    -0.0222
Tb    4.7936    -1.6651     0.2956    -0.0199
Dy    4.7409    -1.5904     0.2733    -0.0178
Ho    4.6757    -1.5088     0.2504    -0.0158
Er    4.5955    -1.4173     0.2252    -0.0137
Tm    4.5133    -1.3255     0.2004    -0.0116
Yb    4.428     -1.233      0.1756    -0.0096
Lu    4.3228    -1.1248     0.1471    -0.0072
Hf    4.215     -1.016      0.1189    -0.005
Ta    4.0865    -0.8911     0.0868    -0.0024
W     3.9775    -0.7843     0.0596    -0.0002
Re    3.8589    -0.6701     0.0307     0.002
Os    3.7592    -0.5747     0.0072     0.0038
Ir    3.651     -0.4723    -0.018      0.0058
Pt    3.5593    -0.3847    -0.0394     0.0074
Au    3.4633    -0.2967    -0.0599     0.0089
Hg    3.3834    -0.2221    -0.0771     0.0101
Tl    3.318     -0.1613    -0.0903     0.011
Pb    3.2581    -0.1049    -0.1025     0.0118
Bi    3.2171    -0.0659    -0.1099     0.0122
Po    3.1821    -0.0318    -0.116      0.0125
At    3.1732    -0.0207    -0.1161     0.0123
Rn    3.1782    -0.0217    -0.1129     0.0119
Fr    3.1954    -0.0325    -0.1074     0.0112
Ra    3.2277    -0.0562    -0.0985     0.0103
Ac    3.2073    -0.0296    -0.1043     0.0107
Th    3.3315    -0.1356    -0.0729     0.0079
Pa    3.3975    -0.1872    -0.057      0.0065
U     3.4761    -0.2481    -0.0393     0.0049
Np    3.5203    -0.2781    -0.0298     0.004
Pu    3.5694    -0.3122    -0.0193     0.003
Am    3.6201    -0.3468    -0.0089     0.0021
Cm    3.6771    -0.3864     0.0027     0.0011
Bk    3.7342    -0.4258     0.0141     0.00003048
Cf    3.7944    -0.4676     0.0261    -0.001
